﻿<%namespace YouHP.Model%>
<%namespace YouHP.Utility%>
<%template _header%>

<script language="javascript" src="/support/editor/script_common.js"></script>

<script language="javascript" src="/support/editor/editor_function.js"></script>

<div class="layout-cols2">
    <%csharp%>if( IsPost){
    <%/csharp%>
    <%template _MsgBox%>
    <%csharp%>
    } else {
    <%/csharp%>
	<div class="mainbox formbox">
		<form id="moderate" name="moderate" method="post">
			<table cellpadding="0" cellspacing="0" border="0">
			<tbody>
			<tr>
				<th>被操作用户:</th>
				<td>
				 <%csharp%>TempUrl = "/Profile/Index.aspx?uid=" + operateduid; <%/csharp%>
				<a href="{this.GetUrl(TempUrl)}" target="_blank">{operatedusername}</a></td>
			</tr>
			</tbody>
			<tbody>
			<tr>
				<th>禁止类型</th>
				<td>
					<input type="radio" value="0" name="bantype" >正常状态</input>
					<input type="radio" value="1" name="bantype" >禁止发言</input>
				</td>
			</tr>
			</tbody>
			<tbody>
			<tr>
				<td>操作原因</th>
				<td>
					<select id="selectreason" name="selectreason" size="6" style="width: 8em; height:8em; " onchange="this.form.reason.value=this.value">
					  <option value="">自定义</option>
					  <option value="">--------</option>
					  <option value="广告/SPAM">广告</option>
					  <option value="恶意灌水">恶意灌水</option>
					  <option value="违规内容">违规内容</option>
					  <option value="文不对题">文不对题</option>
					  <option value="重复发帖">重复发帖</option>
					  <option value="发错版块">发错版块</option>
					  <option value="屡教不改">屡教不改</option>
					  <option value="已经过期">已经过期</option>
					  <option value="">--------</option>
					  <option value="我很赞同">我很赞同</option>
					  <option value="精品文章">精品文章</option>
					  <option value="原创内容">原创内容</option>
					  <option value="鼓励分享">鼓励分享</option>
					</select>
					<textarea name="reason" style="height: 7.5em; width:20em;" onkeydown="if(this.value.length>200){ alert('操作原因不能多于200个字符');return false; }"></textarea>
				</td>
			</tr>
			</tbody>
			<tbody>	
			<tr>
				<th>&nbsp;</th>
				<td><input type="submit" value="提  交" name="modsubmit" /></td>
			</tr>
		</tbody>
			</table>
		</form>	
	</div>
</div>
<%csharp%>
}
<%/csharp%>

<%template _footer%>